import config from "@/config"
import http from "@/utils/request"
import AuthUserFormDto from './types'
export default {
	/**
	 * 登录获取token
	 */
	token: {
		url: `${config.API_URL}/account/check`,
		name: "登录获取TOKEN",
		post: async function (data: AuthUserFormDto) {
			//AccountInfo
			var res: AccountInfo = await http.post(this.url, data);
			return res;
		}
	}
}
